<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>登录 - 天线</title>
<base href="${base}" />
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lte IE 8]>
	<script language="javascript" type="text/javascript" src="excanvas.min.js"></script>
<![endif]-->
<link href="css/login.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#loginForm").validate();
		
	});	
</script>
</head>
<body>
	<div id="loginPage" class="page">
            <div class="container">
                <div id="loginPanel" class="widget">
                    <header>
                        <h3><i class="icon-user"></i><span>天线后台登录-v0.2</span></h3>
                    </header>
                    <section>
                        <form id="userForm" action="passport/login" method="post">
                       	   
                       		<c:if test="${!empty error}" >
                            <div class="alert alert-error">
                                ${error}
                            </div>
                            </c:if>
                            <input type="hidden" name="preRequestUrl" value="${preRequestUrl}" >
                            <label>用户名<b class="must">*</b></label>
                            <input type="text" name="username" class="span3 required">
                            <label>密码<b class="must">*</b></label>
                            <input type="password" name="password" class="span3 required">
                            <div>
                                <button class="btn btn-primary" type="submit">
                                    	登录
                                </button>
                                <button class="btn" type="reset">
                                    	重置
                                </button>
                            </div>
                        </form>
                    </section>
                </div>
            </div>
        </div>
        <footer class="footer">
            <section>
                <p id="copyright">
                  ©舜亚科技 2012
                </p>
            </section>
        </footer>		
</body>
</html>